﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CaptchControlTestApp._Default" %>

<%@ Register assembly="CaptchaWebControl" namespace="CaptchaWebControl" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .BlackText
        {
            font-family:Tahoma;
            font-size:12px;
            font-weight:normal;
            color:Black;
            margin:5px;
            padding-top:5px;
            float:left;
        }
        
        .BlackTextInput
        {
            border-style:solid;
            border-width:1px;
            border-color:blue;
        }
        
        .CaptchImageStyle
        {
            border: 1px solid black;
            margin:5px;
            float:left;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="BlackText">
        <asp:Label ID="lblMessage" runat="server" ></asp:Label>
        <br />
        User Name :<asp:TextBox ID="txtUserName" runat="server" CssClass="BlackTextInput" />
        <br />
        Password :&nbsp;&nbsp;<asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="BlackTextInput" />
        <br />
        <cc1:CaptchaControl ID="CaptchaControl1" runat="server" 
            CaptchaMessageCSS="BlackText" CaptchaInputCSS="BlackTextInput" CaptchaImageCSS="CaptchImageStyle" />      
                
        <br />
        <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
            onclick="btnSubmit_Click" />
    </div>
    </form>
</body>
</html>
